import fly from '../utils/request'


export const getCodes = (data) => {
  return fly.get(`/sms/codes/${data}`)
}

export const login = data => {
  return fly.post('/authorizations', data)
}